<?php
/**
 * 必须使用二维数组
 */
return [
    'auth_menu' => [
        [
            'pid'   => 18,
            'title' => '轮播管理',
            'icon'  => 'layui-icon-carousel',
            'type'  => 1,
            'node'  => '/app/slide/slidecate/index',
            'sort'  => 100
        ],
    ],
    'auth_rule' => [
        [
            'type'    => 1,
            'node'    => '/app/slide/slidecate',
            'title'   => '轮播分组管理',
            'is_auth' => 1,
        ],
        [
            'type'    => 2,
            'node'    => '/app/slide/slidecate/index',
            'title'   => '轮播分组列表',
            'is_auth' => 1,
        ],
        [
            'type'    => 2,
            'node'    => '/app/slide/slidecate/add',
            'title'   => '添加',
            'is_auth' => 1,
        ],
        [
            'type'    => 2,
            'node'    => '/app/slide/slidecate/edit',
            'title'   => '编辑',
            'is_auth' => 1,
        ],
        [
            'type'    => 2,
            'node'    => '/app/slide/slidecate/delete',
            'title'   => '删除',
            'is_auth' => 1,
        ],
        [
            'type'    => 1,
            'node'    => '/app/slide/slide',
            'title'   => '轮播管理',
            'is_auth' => 1,
        ],
        [
            'type'    => 2,
            'node'    => '/app/slide/slide/index',
            'title'   => '轮播列表',
            'is_auth' => 1,
        ],
        [
            'type'    => 2,
            'node'    => '/app/slide/slide/add',
            'title'   => '添加',
            'is_auth' => 1,
        ],
        [
            'type'    => 2,
            'node'    => '/app/slide/slide/edit',
            'title'   => '编辑',
            'is_auth' => 1,
        ],
        [
            'type'    => 2,
            'node'    => '/app/slide/slide/delete',
            'title'   => '删除',
            'is_auth' => 1,
        ],
    ]
];
